package com.opensource.baowebcon.config.swagger;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

//  路径转发
@Controller
public class SwaggerController {

    @GetMapping("/swagger-ui.html")
    public String toDoc() {
        return "redirect:/doc.html";
    }
}

